export type StrType = string | null | undefined;

export class StrUtil {

    static isBlank = (str: StrType): boolean => {
        return typeof str == undefined || typeof str == null || str == null || str.length == 0 || str == "";
    }

    static isNotBlank = (...str: StrType[]) => {
        let result = true;
        for (const string of str) {
            result = result && !StrUtil.isBlank(string);
        }
        return result;
    }
}